package com.hnust.root.common.base.status;

/**
 * @Author zhusir
 * @Date 2019/1/31
 * @Desc 用户状态
 */
public enum UserStatus {
    NOMAL(1, "启用"),
    BAN(2, "禁用"),
    DELETED(3, "删除"),
    ;


    private int code;
    private String desc;

    UserStatus(int status, String desc) {
        this.desc = desc;
        this.code = status;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int status) {
        this.code = status;
    }

    public String getDesc() {
        return desc;
    }

    public void setDesc(String desc) {
        this.desc = desc;
    }
}
